  <div class="linksum">
    <div class="news-summary" id="xnews-0">
      <ul class="news-upcoming2">
        <% if @keyword %>
          <li class="vote-publish"><%= link_to(_('&radic;'), {:controller => :item, :action => :detail, :id => i.get("asin"), :type => :amazon}, :id => "xvotes-#{i.get("asin")}") %></li>
          <li class="vote" id="xvote-0">
            <span>Choice</span>
          </li>
        <% else %>
          <li class="vote-publish">
	    <%= link_to Gift.count(:conditions => ['item_id = ?', i.id]), :controller => :item, :action => :view, :id => i.id %>
	  </li>
          <li class="vote" id="xvote-0">
            <span>Voted</span>
          </li>
        <% end %>
      </ul>
      <div class="top">
        <div class="toptitle" id="ls_thetitle-0">
          <%= link_to i.get("title"), i.get("detailpageurl"), :target => '_blank' %>
        </div>
        <div class="news-submitted">
          <div id="ls_avatar-0">
            <% if i.get("smallimage/url") %>
              <%= link_to image_tag(i.get("smallimage/url"), :border => 0), i.get("detailpageurl"), :target => '_blank' %>
	    <% else %>
              <%= link_to image_tag("no_image.gif", :border => 0), i.get("detailpageurl"), :target => '_blank' %>
            <% end %>
          </div>
          <span id="ls_posted_by-0">Author </span>
          <span id="ls_link_submitter-0"><%=h i.get("author") %></span>
          <br/>
          <span id="ls_category-0">
            <b>
              Category
            </b>: <%=h i.get("productgroup") %>
          </span>
          |&nbsp
          <% unless @keyword %>
          <span id="ls_tags-0"><b><a href="/pligg/cloud.php" title="Tags" style='text-decoration: none;'>Tags</a></b>:
            <a href="/pligg/search.php?search=web+api&amp;tag=true" style='text-decoration: none;'>web api</a>
            <a href="/pligg/search.php?search=mashup&amp;tag=true" style='text-decoration: none;'> mashup</a>
            <a href="/pligg/search.php?search=web+api%2Cmashup&amp;tag=true" style='text-decoration: none;'></a>
          </span>
          <% end %>
        </div>
        <span class="news-body-text">
          <span id="ls_contents-0">
            <% unless @keyword %>
              <!-- about product -->
            <% end %>
          </span>
        </span>
        <span class="news-details">
          <span id="addto-0" style="display:none"><br />Add to:</span>
          <span id="emailto-0" style="display:none"></span>
        </span>
      </div>
    </div>
  </div>
